//
// Created by 王乐 on 2022/2/22.
//

#include "LePhysicsQuadSpawnerGameObject.h"
#include "LePhyQuadSpawnerBehaviour.h"

LePhysicsQuadSpawnerGameObject::LePhysicsQuadSpawnerGameObject()
{}

LePhysicsQuadSpawnerGameObject::~LePhysicsQuadSpawnerGameObject()
{

}

void LePhysicsQuadSpawnerGameObject::Initialize()
{
    strName = "MyPhysicsSpawnerQuad";

    m_Transform.setPosition(0.f, 5.f, 0.0f);

    // Behaviour
    LePhyQuadSpawnerBehaviour* pBehaviour = new LePhyQuadSpawnerBehaviour();

    // Initialize Components
    initComponents(nullptr, nullptr, pBehaviour, nullptr);
}
